package com.hzdl.hotel.mapper;

import com.hzdl.hotel.bean.Administer;
import com.hzdl.hotel.bean.Check;
import com.hzdl.hotel.bean.Role;
import com.hzdl.hotel.vo.AdministerVo;

import java.util.List;

public interface AdministerMapper {
    Administer findAdministerByWhere(AdministerVo administerVo);
    List<Check> findCheck();
    List<Administer> findAdministerByWhere1(AdministerVo administerVo);
    int addAdminister(AdministerVo administerVo);
    int deleteAdminister(Integer aId);
    int updateAdminister(AdministerVo administerVo);
    List<Role> findAllRole();
    List<Role> findRoleById(Integer id);
    int deleteRoleByAId(Integer id);
    int addRoleAdmin(AdministerVo administerVo);

}
